
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Preparing to use the Informix database</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="connpbp49.htm">Previous</A>&nbsp;&nbsp;<A HREF="connpbp51.htm" >Next</A>
<!-- End Header -->
<A NAME="CHEBBCJI"></A><h1>Preparing to use the Informix database</h1>
<A NAME="TI994"></A><p>Before you define the database interface and connect to an
Informix database in PowerBuilder, follow these steps to prepare the
database for use: <A NAME="TI995"></A>
<ol>
</li>
<li class=ds>Install and configure the required
database server, network, and client software.</li>
<li class=ds>Install the native Informix IN9 or I10 database
interface.</li>
<li class=ds>Verify that you can connect to the Informix server
and database outside PowerBuilder.
</li>
</ol>
</p>
<A NAME="TI996"></A><h4>Step 1: Install and configure the database server</h4>
<A NAME="TI997"></A><p>You must install and configure the required database server,
network, and client software for Informix. </p>
<A NAME="TI998"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To install and configure the required database
server, network, and client software:</p>
<ol><li class=fi><p>Make sure the Informix database server
software and database network software is installed and running
on the server specified in your database profile.</p><p>You must obtain the database server and database network software
from Informix.</p><p>For installation instructions, see your Informix
documentation.</p></li>
<li class=ds><p>Install the required Informix client software
on each client computer on which PowerBuilder is installed.</p><p>Install Informix Connect or the Informix Client SDK (which
includes Informix Connect).</p><p>You must obtain the Informix client software from IBM. Make
sure the version of the client software you install supports <i>all</i> of
the following:<A NAME="TI999"></A>
<ul>
<li class=fi>The operating
system running on the client computer</li>
<li class=ds>The version of the database that you want to access</li>
<li class=ds>The version of PowerBuilder that you are running
</li>
</ul>
</p><p>For installation instructions, see your Informix
documentation.</p></li>
<li class=ds><p>Make sure the Informix client software is properly
configured so that you can connect to the Informix database server
at your site.</p><p>Run the <b>SetNet32</b> utility to configure the
client registry settings. When you configure Informix Connect client
software, it creates a registry entry in <i>HKEY_LOCAL_MACHINE\Software\Informix\SqlHosts</i>. The registry entry
contains parameters that define your network configuration, network protocol,
and environment variables. If you omit these values from the database
profile when you define the native Informix database interface, they
default to the values specified in the registry entry.</p><p>For instructions on configuring your Informix client
software, see your Informix documentation.</p></li>
<li class=ds><p>If required by your operating system, make sure
the directory containing the Informix client software is in your
system path.</p></li></ol>
<br><A NAME="TI1000"></A><h4>Step 2: Install the database interface</h4>
<A NAME="TI1001"></A><p>In the PowerBuilder Setup program, select the Typical install,
or select the native Informix database interface in the Custom install.</p>
<A NAME="TI1002"></A><h4>Step 3: Verify the connection</h4>
<A NAME="TI1003"></A><p>Make sure you can connect to the Informix server and database
you want to access from outside PowerBuilder.</p>
<A NAME="TI1004"></A><p>To verify the connection, use any Windows-based utility (such
as the Informix <b>ilogin.exe</b> program) that connects
to the database. When connecting, be sure to specify the same parameters
you plan to use in your PowerBuilder database profile to access the
database.</p>
<A NAME="TI1005"></A><p>For instructions on using <b>ilogin.exe</b>, see
your Informix documentation.</p>

